python/xc: fix out of bounds array access
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:27:14 +0000 (13:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:27:14 +0000 (13:27 +0100)
commit56d6b7ac5dedb2413b22713e3760a617a3d5e260
treee42fe36c9a5bf3c0bbdeaa530b5ce77001b5b784
parentf606c65a5339135e84d7a20c3d32e6f0408cab73
python/xc: fix out of bounds array access

Writing a NUL terminator here isn't even necessary, since snprintf()
already guarantees proper termination.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
tools/python/xen/lowlevel/xc/xc.c